<template>
  <div class="navBody" v-show="!this.$route.meta.isNav">
    <van-nav-bar :title="title" left-arrow fixed @click-left="onClickLeft" />
  </div>
</template>

<script>
export default {
  props: {
    title: String,
    back:String
  },
  methods: {
    onClickLeft() {
      this.$router.push({path:`${this.back}`})
    }
  }
};
</script>

<style>
.navBody {
  overflow: hidden;
  height: 90px;
  background-color: #f6f6f6;
}
.van-nav-bar__content {
  width: 750px;
  margin: 0 auto;
  padding: 15px;
  background-color: #405f80;
  height: 90px !important;
  box-sizing: border-box !important;
}
.van-icon-arrow-left {
  color: white !important;
  font-size: 40px !important;
  font-weight: 600 !important;
}
.van-nav-bar__title {
  line-height: 30px;
  color: white !important;
  font-size: 30px !important;
  font-weight: 600 !important;
}
</style>